/** When your routing table is too long, you can split it into small modules**/
import routeComponentName from '@/config/route-component-name'
import Layout from '@/layout/index.vue'

const shopRouter = [
  {
    path: '/shop',
    component: () => import('@/views/partshop/index.vue'),
    name: 'Shop',
    meta: {
      title: '商城管理',
      icon: 'ShoppingCartFull',
      componentName: routeComponentName.shop.shoppingManager,
    },
    children: [
      // {
      //   path: 'market',
      //   component: () => import('@/views/appmar/market/index.vue'),
      //   name: 'Market',
      //   meta: { title: '应用市场', keepAlive: true },
      // },
      // {
      //   path: 'market',
      //   component: () => import('@/views/appmar/market/index.vue'),
      //   name: 'Market',
      // },
    ],
  },
]

export default shopRouter
